/**
 * @Author @fiber-cloud
 * @Date 2025/6/25 22:15
 */
public class Dog {
    public String name;
    public int age;
    public String color;

    public void  barks(){
        System.out.println(name+":werwerwer~");
    }
    public void wag(){
        System.out.println(name+":摇尾巴~");
    }
    public void jieshi(){
        System.out.println("小狗的名字叫："+name);
        System.out.println("小狗今年"+age+"岁了");
        System.out.println("小狗是"+color+"的");

    }
}
